package com.heihx.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Schema(description = "请求销量排行时传递的数据模型")
public class GoodsSalesDTO implements Serializable {
    //商品名称
    @Schema(description = "商品名称")
    private String name;

    //销量
    @Schema(description = "销量")
    private Integer number;
}
